package com.dabaozhan.modules.wx_app.service;

import java.util.List;

import com.dabaozhan.modules.wx_app.entity.SupplierUserEntity;
import com.dabaozhan.modules.wx_app.entity.SupplierUserQueryEntitiy;

/**
 * @author fenggang(冯刚)
 */
public interface SupplierUserService {
	
	public List<SupplierUserEntity> getSupplierUserForPage(SupplierUserQueryEntitiy entity);
	
	public long getCountForPage(SupplierUserQueryEntitiy entity);
	
	public SupplierUserEntity getSupplierUserByPhone(String phone,String packerId);
	
	public int addSupplierUser(SupplierUserEntity entity);
	
	public int deleteSupplierUser(String userId,String packerId);
	
	public int updateSupplierUser(SupplierUserEntity supplierUser);
}
